Skip to content

Fix typo in repoCleaner logging code - #2709

Open
knopers8 wants to merge 1 commit into
AliceO2Group:masterfrom
knopers8:fix-repocleaner-typo
Open

knopers8 wants to merge 1 commit into
AliceO2Group:masterfrom
knopers8:fix-repocleaner-typo

Conversation

@knopers8

Copy link
Copy Markdown
Collaborator
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.10/logging/__init__.py", line 1100, in emit
    msg = self.format(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 943, in format
    return fmt.format(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 678, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.10/logging/__init__.py", line 366, in getMessage
    msg = str(self.msg)
  File "/home/pkonopka/.local/lib/python3.10/site-packages/qcrepocleaner/Ccdb.py", line 53, in __repr__
    return representation
UnboundLocalError: local variable 'representation' referenced before assignment

```
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.10/logging/__init__.py", line 1100, in emit
    msg = self.format(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 943, in format
    return fmt.format(record)
  File "/usr/lib/python3.10/logging/__init__.py", line 678, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.10/logging/__init__.py", line 366, in getMessage
    msg = str(self.msg)
  File "/home/pkonopka/.local/lib/python3.10/site-packages/qcrepocleaner/Ccdb.py", line 53, in __repr__
    return representation
UnboundLocalError: local variable 'representation' referenced before assignment
```

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant